export default {
    namespaced: true,
    state: {
        bookAuthorDTO: {},
        use: [],
        role: [],
        departmentId: []
    },
    mutations: {
        setBookAuthorDTO(state, truckNumber) {
            state.bookAuthorDTO = truckNumber;
        },
        setUse(state, use) {
            state.use = use;
        },
        role(state, role) {
            state.role = role;
        },
        departmentId(state, departmentId) {
            state.departmentId = departmentId;
        }
    }
};
